package com.example.demoserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName inte_gatewaylog
 */
@TableName(value ="inte_gatewaylog")
public class InteGatewaylog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 操作
     */
    private String logoperate;

    /**
     * 访问类型
     */
    private String htype;

    /**
     * 日志内容
     */
    private String logvalue;

    /**
     * 日志时间
     */
    private String logtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 操作
     */
    public String getLogoperate() {
        return logoperate;
    }

    /**
     * 操作
     */
    public void setLogoperate(String logoperate) {
        this.logoperate = logoperate;
    }

    /**
     * 访问类型
     */
    public String getHtype() {
        return htype;
    }

    /**
     * 访问类型
     */
    public void setHtype(String htype) {
        this.htype = htype;
    }

    /**
     * 日志内容
     */
    public String getLogvalue() {
        return logvalue;
    }

    /**
     * 日志内容
     */
    public void setLogvalue(String logvalue) {
        this.logvalue = logvalue;
    }

    /**
     * 日志时间
     */
    public String getLogtime() {
        return logtime;
    }

    /**
     * 日志时间
     */
    public void setLogtime(String logtime) {
        this.logtime = logtime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        InteGatewaylog other = (InteGatewaylog) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getLogoperate() == null ? other.getLogoperate() == null : this.getLogoperate().equals(other.getLogoperate()))
            && (this.getHtype() == null ? other.getHtype() == null : this.getHtype().equals(other.getHtype()))
            && (this.getLogvalue() == null ? other.getLogvalue() == null : this.getLogvalue().equals(other.getLogvalue()))
            && (this.getLogtime() == null ? other.getLogtime() == null : this.getLogtime().equals(other.getLogtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getLogoperate() == null) ? 0 : getLogoperate().hashCode());
        result = prime * result + ((getHtype() == null) ? 0 : getHtype().hashCode());
        result = prime * result + ((getLogvalue() == null) ? 0 : getLogvalue().hashCode());
        result = prime * result + ((getLogtime() == null) ? 0 : getLogtime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", logoperate=").append(logoperate);
        sb.append(", htype=").append(htype);
        sb.append(", logvalue=").append(logvalue);
        sb.append(", logtime=").append(logtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}